-- GENERATED SPELL FOR [Scourgebeak Fleshripper] --


function spell0_30988(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(55079,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30988', 517, 1)
end

function Sorts_30988(pUnit, Event)
local choix_sorts_30988 = math.random(0, 0)
if choix_sorts_30988 == 0 then
pUnit:RegisterEvent('spell0_30988', 1, 1)
end
end

function mob30988_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30988', math.random(1500, 3000), 1)
end

function mob30988_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30988_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30988_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30988, 1, 'mob30988_Action')
RegisterUnitEvent(30988, 2, 'mob30988_Leave')
RegisterUnitEvent(30988, 3, 'mob30988_Kill')
RegisterUnitEvent(30988, 4, 'mob30988_Die')
